<template>
    <div class="fenlei">
        <Search></Search>
        <div class="fen">
            <ul>
                <li>
                    <router-link :to="{ path: '/fenlei/tuijian' }">热门推荐</router-link>
                </li>
                <li>
                    <router-link :to="{ path: '/fenlei/shuma' }">手机数码</router-link>
                </li>
                <li>
                    <router-link :to="{ path: '/fenlei/caoshi' }">京东超市</router-link>
                </li>
            </ul>
            <router-view></router-view>
        </div>
    </div>
</template>

<script>
import Search from "../components/FenLei/Search";
    export default {
        components:{
            Search
        }
    }
</script>

<style lang="scss" scoped>
    .fen{
        display: flex;
        padding-bottom: 100px;
        // border-top: 2px solid red;
        ul{
            width: 170px;
            height: 1500px;
            background-color: rgb(243, 243, 243);
            li{
                text-align: center;
                width: 170px;
                height: 92px;
                background-color: rgb(243, 243, 243);
                a{
                    display: block;
                    width: 168px;
                    height: 92px;
                    line-height: 92px;
                    text-decoration: none;
                    background-color: rgb(243, 243, 243);
                    color: black;
                    font-size: 28px;
                }
                .router-link-active {
                    color: red;
                    background-color: white;
                }
            }
        }
    }
</style>